<!-- BEGIN PAGE -->
<div class="page-content">

    <!-- BEGIN PAGE CONTAINER-->
    <div class="container-fluid">

        <!-- BEGIN PAGE HEADER-->
        <div class="row-fluid">

            <div class="span12">

                <!-- BEGIN PAGE TITLE & BREADCRUMB-->
                <h3 class="page-title">

                    Withdraw
                    <small>提现管理</small>

                </h3>

                <ul class="breadcrumb">

                    <li>
                        <i class="icon-home"></i>
                        <a ui-sref="home.index">首页</a>
                        <i class="icon-angle-right"></i>
                    </li>

                    <li><a href="#">提现记录列表</a></li>
                </ul>
            </div>

        </div>

        <div class="row-fluid">

            <div class="span12">

                <div class="portlet box grey">

                    <div class="portlet-title">
                        <div class="caption"><i class="icon-globe"></i>提现记录列表</div>
                        <div class="actions">



                        </div>
                    </div>
                    <div class="portlet-body">
                        <div id="sample_1_wrapper" class="dataTables_wrapper form-inline" role="grid">
                            <div class="row-fluid">



                            </div>
                            <table class="table table-striped table-bordered table-hover dataTable"
                                   id="sample_1"
                                   aria-describedby="sample_1_info">
                                <thead>

                                <tr role="row">
                                    <th class="sorting" role="columnheader" tabindex="0" aria-controls="sample_1" rowspan="1"
                                        colspan="1" aria-label="Username: activate to sort column ascending"
                                        style="width: 100px;">订单号
                                    </th>

                                    <th class="hidden-480 sorting_disabled" role="columnheader" rowspan="1" colspan="1"
                                        aria-label="Joined">用户昵称
                                    </th>

                                    <th class="hidden-480 sorting_disabled" role="columnheader" rowspan="1" colspan="1"
                                        aria-label="Joined">提现的微信号
                                    </th>

                                    <th class="hidden-480 sorting_disabled" role="columnheader" rowspan="1" colspan="1"
                                        aria-label="Joined">提现金额
                                    </th>
                                    <th class="hidden-480 sorting_disabled" role="columnheader" rowspan="1" colspan="1"
                                        aria-label="Joined">申请时间
                                    </th>
                                    <th class="hidden-480 sorting_disabled" role="columnheader" rowspan="1" colspan="1"
                                        aria-label="Joined">订单状态
                                    </th>
                                    <th class="hidden-480 sorting_disabled" role="columnheader" rowspan="1" colspan="1"
                                        aria-label="Joined">处理时间
                                    </th>
                                    <th class="hidden-480 sorting_disabled" role="columnheader" rowspan="1" colspan="1"
                                        aria-label="Joined" style="text-align: center;width:80px;">操作</th>
                                </tr>
                                </thead>


                                <tbody role="alert" aria-live="polite" aria-relevant="all" ng-if="withdrawList.length != 0">
                                <tr class="gradeX odd"  ng-repeat="item in withdrawList"
                                    ng-class="{'odd':$odd,'even':$even}">
                                    <td class=" ">{{item.withdraw_order_no}}</td>
                                    <td class=" ">{{item.nick_name}}</td>
                                    <td class=" ">{{item.wx}}</td>
                                    <td class="center hidden-480 ">{{item.money}}</td>
                                    <td class="center hidden-480 ">{{item.add_date | date:'yyyy-MM-dd HH:mm:ss'}}</td>

                                    <td ng-if="item.status == 1" class="center hidden-480 ">待处理</td>
                                    <td ng-if="item.status == 2" class="center hidden-480 ">已处理</td>

                                    <td class="center hidden-480 ">{{item.last_modify_time | date:'yyyy-MM-dd HH:mm:ss'}}</td>

                                    <td style="text-align: center" class="center hidden-480 ">

                                        <a ng-if="item.status == 1"><div ng-click="confirmWithdraw(item.withdraw_id,item.withdraw_order_no,item.user_id,item.money)">确认提现</div></a>
                                        <div ng-if="item.status == 2">已经提现</div>

                                    </td>
                                </tr>

                                </tbody>
                            </table>
                            <div class="row-fluid">
                                <div class="span6">
                                    <div class="dataTables_info" id="sample_1_info">当前 {{pageStart}} 到 {{pageEnd}} 共 {{count}} 条记录
                                    </div>
                                </div>
                                <div class="span6" style="text-align: center;width: 100%;">
                                    <div class="dataTables_paginate paging_bootstrap pagination">
                                        <pagination>
                                            <ul num-pages="numPages" current-page="currentPage"
                                                on-select-page="selectPage(page)">
                                                <li class="prev" ng-class="{disabled: noPrevious()}"><a
                                                        ng-click="selectPrevious()">&laquo; </a>
                                                </li>
                                                <li ng-if="judge(page,$index)" ng-repeat="page in pages" ng-class="{active: isActive(page)}"><a
                                                        ng-click="selectPage(page)" ng-if="!point[$index]">{{page}}</a> <span ng-if="point[$index]">...</span></li>
                                                <li class="next" ng-class="{disabled: noNext()}"><a
                                                        ng-click="selectNext()"> &raquo; </a>
                                                </li>
                                            </ul>
                                        </pagination>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>



